package com.ldk.framework.entity;

import com.ldk.base.framework.entity.BaseEntity;

/**
* Coupon实体类
* @author mqy
*/
public class Coupon extends BaseEntity {

	private static final long serialVersionUID = -4650135353587986879L;
	/**
	* id
	*/
	private Long   id;
	/**
	* 司机ID/乘客ID
	*/
	private Long   userId;
	/**
	* 类型：0 优惠劵; 1现金券
	*/
	private Integer   couponType;
	/**
	* 金额
	*/
	private Double   amount;
	/**
	* 赠送时间
	*/
	private Long   createTime;
	/**
	 * 优惠劵过期时间
	 */
	private java.lang.Long   expireTime;
	/**
	 * 状态: 0 未使用; 1 乘客已使用(司机已提现); -1 已过期
	 */
	private java.lang.Integer   status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getCouponType() {
		return couponType;
	}

	public void setCouponType(Integer couponType) {
		this.couponType = couponType;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Long createTime) {
		this.createTime = createTime;
	}

	public Long getExpireTime() {
		return expireTime;
	}

	public void setExpireTime(Long expireTime) {
		this.expireTime = expireTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
